package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 【请填写功能名称】对象 tb_motor_information
 *
 * @author ruoyi
 * @date 2020-06-25
 */
public class TbMotorInformation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 驱动电机信息主键ID */
    private Long mid;

    /** 驱动电机编号 */
    @Excel(name = "驱动电机编号")
    private String drivingMotor;

    /** 驱动电机型号编号 */
    @Excel(name = "驱动电机型号编号")
    private String modelCode;

    /** 驱动电机型号表外键 */
    @Excel(name = "驱动电机型号表外键")
    private Long modelId;

    /** 车辆VIN */
    @Excel(name = "车辆VIN")
    private String carVin;

    /** 电机位置  */
    @Excel(name = "电机位置 ")
    private String motorPlace;

    /** 出厂日期 */
    @Excel(name = "出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date productionDate;

    /** 开始日期 */
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束日期 */
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    public void setMid(Long mid)
    {
        this.mid = mid;
    }

    public Long getMid()
    {
        return mid;
    }
    public void setDrivingMotor(String drivingMotor)
    {
        this.drivingMotor = drivingMotor;
    }

    public String getDrivingMotor()
    {
        return drivingMotor;
    }
    public void setModelCode(String modelCode)
    {
        this.modelCode = modelCode;
    }

    public String getModelCode()
    {
        return modelCode;
    }
    public void setModelId(Long modelId)
    {
        this.modelId = modelId;
    }

    public Long getModelId()
    {
        return modelId;
    }
    public void setCarVin(String carVin)
    {
        this.carVin = carVin;
    }

    public String getCarVin()
    {
        return carVin;
    }
    public void setMotorPlace(String motorPlace)
    {
        this.motorPlace = motorPlace;
    }

    public String getMotorPlace()
    {
        return motorPlace;
    }
    public void setProductionDate(Date productionDate)
    {
        this.productionDate = productionDate;
    }

    public Date getProductionDate()
    {
        return productionDate;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return "TbMotorInformation{" +
                "mid=" + mid +
                ", drivingMotor='" + drivingMotor + '\'' +
                ", modelCode='" + modelCode + '\'' +
                ", modelId=" + modelId +
                ", carVin='" + carVin + '\'' +
                ", motorPlace='" + motorPlace + '\'' +
                ", productionDate=" + productionDate +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                '}';
    }
}
